import React from 'react';
import Tab from '../../../TabChange';
import './index.scss';

const tab = [
  {
    label: '类别',
    route: '/system/corule/server/sort',
  },
  {
    label: '办事流程说明',
    route: '/system/corule/server/introduction',
  },
];
class Server extends React.PureComponent {
  render() {
    return (
      <div className="server">
        <Tab
          configTab={tab}
        />
        <div className="server-children">
          { this.props.children }
        </div>
      </div>
    );
  }
}

export default Server;
